<template>
  <div id="Goods">
    <v-details
      :detailData="data.detailData"
      :inputConfig="inputConfig"
      :rules="rules"
      ref="input"
    ></v-details>
  </div>
</template>

<script>

import details from 'commons/Detail'
import baseMixin from "@/mixins/BaseMixin";

export default {
  name: "Goods",
  mixins: [baseMixin],
  props: {
    data: {
      type: Object
    }
  },
  data () {
    return {
      inputConfig: [
        [
          {
            type: "",
            disabled: true,
            label: this.$t('outbound.includeItem'),
          },
          {
            type: "",
            disabled: true,
            label: this.$t('outbound.includeItem'),
          },
          {
            type: "",
            disabled: true,
            label: this.$t('outbound.includeItem'),
          },
          {
            type: "",
            disabled: true,
            label: this.$t('outbound.excludeItem'),
          },
          {
            type: "",
            disabled: true,
            label: this.$t('outbound.excludeItem'),
          },
          {
            type: "",
            disabled: true,
            label: this.$t('outbound.excludeItem'),
          },
        ],
        [
          {
            type: "select",
            label: this.$t('outbound.receipttypeinclude01'),
            props: "receipttypeinclude01",
            options: this.getOptions('querycodeLkup/RECEIPTYPE')
          },
          {
            type: "select",
            label: " ",
            props: "receipttypeinclude02",
            options: this.getOptions('querycodeLkup/RECEIPTYPE')
          },
          {
            type: "select",
            label: " ",
            props: "receipttypeinclude03",
            options: this.getOptions('querycodeLkup/RECEIPTYPE')
          },
          {
            type: "select",
            label: " ",
            props: "receipttypeexclude01",
            options: this.getOptions('querycodeLkup/RECEIPTYPE')
          },
          {
            type: "select",
            label: " ",
            props: "receipttypeexclude02",
            options: this.getOptions('querycodeLkup/RECEIPTYPE')
          },
          {
            type: "select",
            label: " ",
            props: "receipttypeexclude03",
            options: this.getOptions('querycodeLkup/RECEIPTYPE')
          },
        ],
        [
          {
            type: "select",
            label: this.$t('outbound.dispositiontypeinclude01'),
            props: "dispositiontypeinclude01",
            options: this.getOptions('querycodeLkup/RETDISPTYP')
          },
          {
            type: "select",
            label: " ",
            props: "dispositiontypeinclude02",
            options: this.getOptions('querycodeLkup/RETDISPTYP')
          },
          {
            type: "select",
            label: " ",
            props: "dispositiontypeinclude03",
            options: this.getOptions('querycodeLkup/RETDISPTYP')
          },
          {
            type: "select",
            label: " ",
            props: "dispositiontypeexclude01",
            options: this.getOptions('querycodeLkup/RETDISPTYP')
          },
          {
            type: "select",
            label: " ",
            props: "dispositiontypeexclude02",
            options: this.getOptions('querycodeLkup/RETDISPTYP')
          },
          {
            type: "select",
            label: " ",
            props: "dispositiontypeexclude03",
            options: this.getOptions('querycodeLkup/RETDISPTYP')
          },
        ],
        [
          {
            type: "select",
            label: this.$t('outbound.skuabcinclude01'),
            props: "skuabcinclude01",
            options: this.getOptions('querycodeLkup/ABC')
          },
          {
            type: "select",
            label: " ",
            props: "skuabcinclude02",
            options: this.getOptions('querycodeLkup/ABC')
          },
          {
            type: "select",
            label: " ",
            props: "skuabcinclude03",
            options: this.getOptions('querycodeLkup/ABC')
          },
          {
            type: "select",
            label: " ",
            props: "skuabcexclude01",
            options: this.getOptions('querycodeLkup/ABC')
          },
          {
            type: "select",
            label: " ",
            props: "skuabcexclude02",
            options: this.getOptions('querycodeLkup/ABC')
          },
          {
            type: "select",
            label: " ",
            props: "skuabcexclude03",
            options: this.getOptions('querycodeLkup/ABC')
          },
        ],
        [
          {
            type: "select",
            label: this.$t('outbound.skufreightclassinclude01'),
            props: "skufreightclassinclude01",
            options: this.getOptions('querycodeLkup/FREIGHTCLS')
          },
          {
            type: "select",
            label: " ",
            props: "skufreightclassinclude02",
            options: this.getOptions('querycodeLkup/FREIGHTCLS')
          },
          {
            type: "select",
            label: " ",
            props: "skufreightclassinclude03",
            options: this.getOptions('querycodeLkup/FREIGHTCLS')
          },
          {
            type: "select",
            label: " ",
            props: "skufreightclassexclude01",
            options: this.getOptions('querycodeLkup/FREIGHTCLS')
          },
          {
            type: "select",
            label: " ",
            props: "skufreightclassexclude02",
            options: this.getOptions('querycodeLkup/FREIGHTCLS')
          },
          {
            type: "select",
            label: " ",
            props: "skufreightclassexclude03",
            options: this.getOptions('querycodeLkup/FREIGHTCLS')
          },
        ],
        [
          {
            type: "select",
            label: this.$t('outbound.itemputawayclassinclude01'),
            props: "itemputawayclassinclude01",
            options: this.getOptions('querycodeLkup/PACLASS')
          },
          {
            type: "select",
            label: " ",
            props: "itemputawayclassinclude02",
            options: this.getOptions('querycodeLkup/PACLASS')
          },
          {
            type: "select",
            label: " ",
            props: "itemputawayclassinclude03",
            options: this.getOptions('querycodeLkup/PACLASS')
          },
          {
            type: "select",
            label: " ",
            props: "itemputawayclassexclude01",
            options: this.getOptions('querycodeLkup/PACLASS')
          },
          {
            type: "select",
            label: " ",
            props: "itemputawayclassexclude02",
            options: this.getOptions('querycodeLkup/PACLASS')
          },
          {
            type: "select",
            label: " ",
            props: "itemputawayclassexclude03",
            options: this.getOptions('querycodeLkup/PACLASS')
          },
        ],
      ],
      rules: {},
    }
  },
  methods: {},
  mounted () {
  },
  watch: {},
  components: {
    'v-details': details
  }
}
</script>

<style scoped>
</style>
